from fastapi import APIRouter
router = APIRouter()


from .CreateBook import CreateBook
router.post('/create')(CreateBook)

from .GetBookTree import GetBookTree
router.get('/tree')(GetBookTree)

from .UpdateBookTreeNode import UpdateBookTreeNode
router.post('/tree-node/update')(UpdateBookTreeNode)

from .GetBook import GetBook
router.get('/get')(GetBook)

from .UpdateBook import UpdateBook
router.post('/update')(UpdateBook)

from .DeleteBook import DeleteBook
router.post('/delete')(DeleteBook)

from .GetRecycleBookList import GetRecycleBookList
router.get('/recycle/list')(GetRecycleBookList)

from .RecoverRecycleBook import RecoverRecycleBook
router.post('/recycle/recover')(RecoverRecycleBook)